// 导入 
import BaseAPI from './baseapi'
import request from '../utils/request';


// 继承类
class PlaceApi extends BaseAPI{

    constructor(appname:string, name: string) {
       super(appname, name);
    }

    // 当前类定义的函数 
    public select = () => {
        return request({
            method: 'get',
            url: `${this.appname}/${this.name}/select/`
        })
    }
}


export default PlaceApi